package com.kis.pattern.factory;

import com.kis.pattern.factory.api.ExportApi;
import com.kis.pattern.factory.api.impl.ExportTxtApi;

/**
 * Created by yks on 15-11-12.
 */
public abstract class ExportOperate {
    protected abstract ExportApi factoryMethod();
    public boolean export(){
        ExportApi api = factoryMethod();
        return api.export();
    }
}
